package com.func.boom.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.func.boom.entity.TSysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Yulei
 * @date 2020-09-10 15:26:18
 * @desc
 */
@Mapper
public interface UserMapper extends BaseMapper<TSysUser> {

    /**
     * 注册账号
     * @param user
     * @return
     */
    int insertUser(TSysUser user);

    /**
     * 根据条件查询全部用户信息
     * @return
     */
    List<TSysUser> selectUserList(TSysUser TSysUser);

}
